<form action="{$smarty.const.HTTP_URL}edytuj_strone,Panel_Panel,savenewsec.html" id="edit_section" name="edit_section" method="post">

<input type="hidden" name="id_page" value="{$section.id_page}"/>
<input type="hidden" name="id_section" value="{$section.id_section}"/>
<input type="hidden" name="id_lang" value="{$section.id_lang}"/>
<table class="setup">
	<tr>
	<th>Treść wyswietlana zawsze</th><td><textarea class="htmledytor" name="section_body" id="section_body__" rows="35" cols="30" style="height: 450px;">{$section.section_body}</textarea></td>
	</tr>
	<tr>
	<th>Treść znikająca po zalogowaniu użytkownika</th><td><textarea class="htmledytor" name="section_body_sometime" id="section_body_sometime__" rows="35" cols="30" style="height: 250px;">{$section.section_body_sometime}</textarea></td>
	</tr>	
	<tr>
	<th>Treść dostępna dla użytkownika tylko po zalogowaniu</th><td><textarea class="htmledytor" name="section_body_hidden" id="section_body_hidden__" rows="35" cols="30" style="height: 250px;">{$section.section_body_hidden}</textarea></td>
	</tr>
	<tr>
	<th>Zablokowana</th><td><input type="checkbox" name="plock" {if $section.lock eq 1} value="1" checked="checked"{/if} onclick="if(this.checked){ldelim} this.value = 1 {rdelim}else{ldelim}this.value = 0{rdelim}"/></td>
	</tr>
	<tr>
		<th class="red">Zainstaluj w sekcji: </th>		
		<th><select name="exten_body" style="width: 350px;">
				{html_options options=$smarty.const.EXTEN|unserial selected=$section.id_exten}
			</select>
		</th>
	</tr>	
	<tr>
		<th class="no_border"></th>
		<td class="no_border">
			<input type="submit" class="button" value="Zapisz"/>
		</td>
	</tr>
</table>

</form>
